#include <stdarg.h>

struct logger_t
{
    int edge;
    char* message;
    char* log_file;
};


logger_t* init (int edge, char* file);

int add_mes(logger_t* logger, int level, const char* format, ...);

void print(logger_t* logger);

void destroy(logger_t* logger);

